
class Hotel {
  constructor (name, rating, rate) {
    this.name = name
    this.rating = rating
    this.rate = rate
  }

  setName (name) {
    this.name = name
  }

  getName () {
    return this.name
  }

  setRating (rating) {
    this.rating = rating
  }

  getRating () {
    return this.rating
  }

  setRate (rate) {
    this.rate = rate
  }

  getRate () {
    return this.rate
  }
}

module.exports = Hotel
